//
//  SuggestCollectionManager.h
//  Project_B
//
//  Created by 甘霞 on 15/11/28.
//  Copyright © 2015年 Atom_Wang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CoreDataManager.h"
#import "SuggestModel.h"

@interface SuggestCollectionManager : NSObject

//  查询是否当前该模型是否已经被收藏
+ (BOOL)isSuggestModelExist:(NSString *)title;

//  收藏
+ (BOOL)insertSuggestModelTitle:(NSString *)title
                           desc:(NSString *)desc
                   mainImagevie:(NSString *)mainImagevie
                    authorImage:(NSString *)avatar
                     authorName:(NSData *)name
                      poemTitle:(NSData *)poemtitle
                      signature:(NSData *)signature
                       typeName:(NSString *)type_name
                      suggestId:(NSNumber *)suggestId;

//  删除
+ (BOOL)deleteSuggestModel:(NSString *)title;

@end
